ComponentOne Basic Library for UWP
Enabling Drag-and-Drop
UWP Edition Basic Library > TreeView for UWP > TreeView for UWP Task-Based Help > Enabling Drag-and-Drop

C1TreeView supports drag-and-drop behavior. For more information see the Drag-and-Drop Nodes topic. To enable drag-and-drop behavior, set the C1TreeView.AllowDragDrop property to True:

Visual Basic
Copy Code
C1TreeView.AllowDragDrop = True

 

C#
Copy Code
C1TreeView.AllowDragDrop = true;

To enable visual drag-and-drop indicators you can set the C1TreeView.DragDropArrowMarker and C1TreeView.DragDropLineMarker properties.